<?php
$userData =  $this->userEditData; 
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" />
<?php echo Lin_Grid::includeSource(); ?>
<?php echo Lin_Loader::validation(); ?>
<script language="javascript">
$(function(){
	jQuery("#form1").validationEngine();	
});
</script>
</head>
<body>
<div class="container">
  <div class="title"><h3>Edit User</h3></div>
	<div id="edit-table" title="Edit Account">
		<form id="form1" name="form1" action="/user/" method="post" >
		
			<input type="hidden" id="action" name="action" value="edit" />
			<input type="hidden" id="user_id" name="user_id" value="<?php echo $userData['user_id'] ?>" />
			<table width="100%" border="0" cellpadding="2" cellspacing="0" >
			  <tr>
			    <td width="150" height="25" align="right">Accout:</td>
			    <td><input name="user_account" type="text" class="validate[required] text-input" id="user_account" size="30" value="<?php echo $userData['user_account'] ?>" /></td>
			  </tr>
			  <tr>
			    <td height="25" align="right">Password:</td>
			    <td><input name="user_pwd" type="password" class="text-input" id="user_pwd" size="30" /></td>
			  </tr>
			  <tr>
			    <td height="25" align="right">Confirm Password:</td>
			    <td><input name="user_pwd1" type="password" class="validate[equals[user_pwd]] text-input" id="user_pwd1" size="30" /></td>
			  </tr>
			  <tr>
			    <td height="25" align="right">E-mail:</td>
			    <td><input name="user_email" type="text" class="validate[required] text-input" id="user_email" size="30" value="<?php echo $userData['user_email'] ?>" /></td>
			  </tr>
			  <tr>
			    <td height="25" align="right">&nbsp;</td>
			    <td><input type="submit" name="Submit" id="Submit" value="Submit" /> <input type="button" name="Back" id="Back" value="Back" onclick="history.go(-1);" /> </td>
			  </tr>
			</table>
		</form>
	
	</div>
</div>
</body>
</html>